﻿namespace CoreSoft.Frame.Entity.http
{
    public class PlmApiResponse
    {
        /// <summary>
        /// 错误消息
        /// </summary>
        public string Error_Message { get; set; }

        /// <summary>
        /// 物料ID
        /// </summary>
        public string ITEM_NUMBER { get; set; }

        /// <summary>
        /// 是否成功（0 正确,1 为错误）
        /// </summary>
        public int SUC_FLG { get; set; }

        /// <summary>
        /// 正式客户编码
        /// </summary>
        public string consumerid { get; set; }
        
        /// <summary>
        /// 客户简称
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 客户全称
        /// </summary>
        public string fullname { get; set; }


        /// <summary>
        /// 价格
        /// </summary>
        public string prices { get; set; }

    }

    public class PlmApiRequest
    {
        // <summary>
        /// WMS账套号
        /// </summary>
        public string orgcode { get; set; }
        /// <summary>
        /// key-id
        /// </summary>
        public string primarykey { get; set; }
        /// <summary>
        /// 操作类别编码，0为新增，1为删除,2 修改
        /// </summary>
        public int operation { get; set; }
        /// <summary>
        /// 参数以json的形式传过来
        /// </summary>
        public object data { get; set; }

        /// <summary>
        /// 来源 一般为来源帐套号
        /// </summary>
        public string csource { get; set; }
    }
}
